<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="css/Site.css" />
		<link rel="stylesheet" href="css/zy.all.css" />
		<link rel="stylesheet" href="css/font-awesome.min.css" />
		<link rel="stylesheet" href="css/amazeui.min.css" />
		<link rel="stylesheet" href="css/admin.css" />
	</head>
	<body>
			<!-- content start -->
		<div class="am-cf admin-main" style="padding-top: 0px;">
			<!-- content start -->
			<div class="admin-content">
				<div class="admin-content-body">
					
					<div class="am-g">
						<div class="am-u-sm-12 am-u-md-4 am-u-md-push-8">
							
						</div>
						<div class="am-u-sm-12 am-u-md-8 am-u-md-pull-4"
							style="padding-top: 30px;">
							<form class="am-form am-form-horizontal" id="uppwd"
								action="/user_update_pwd_save" method="post">
								<div class="am-form-group">
									<label for="user-name" class="am-u-sm-3 am-form-label">
									新密码</label>
									<div class="am-u-sm-9">
										<input type="text" id="user_pwd_one" required
											placeholder="新密码" name="new_pwd_one">
											<!-- <small>新密码...</small> -->
									</div>
								</div>
								<div class="am-form-group">
									<label for="user-name" class="am-u-sm-3 am-form-label">
									再次确认新密码</label>
									<div class="am-u-sm-9">
										<input type="text" id="user_pwd_two" required
											placeholder="新密码" name="new_pwd_two">
											<!-- <small>新密码...</small> -->
									</div>
								</div>
								<div class="am-form-group">
									<div class="am-u-sm-9 am-u-sm-push-3">
										<input type="submit" class="am-btn am-btn-success" value="修改" />
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
				<footer class="admin-content-footer">
				<hr>
				<p class="am-padding-left"></p>
				</footer>
			</div>
			<!-- content end -->
		</div>
<script src="./js/jquery.js"></script>
<script type="text/javascript">
$(function(){
	$("#uppwd").submit(function(){
		var $pwdone = $("#user_pwd_one").val();
		var $pwdtwo = $("#user_pwd_two").val();
		
		if($pwdone!=$pwdtwo){
			alert("两次密码不正确，请重新输入！");
			return false;
		}
		return true;
	})
	
	
})

</script>
	</body>
</html>
